<?php

namespace app\index\model;

use think\Model;

/*
 * 店铺
 */

class Store extends Model
{
    /*
     * 返回店铺的老板信息
     */
    public static function getStoreStaff($store_id)
    {
        $row = StaffStore::with('staff')->where('store_id', '=', $store_id)->field('id, staff_id')->find();
        return $row;
    }


}